package com.hckjsec.cloud.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.hckjsec.cloud.mapper.AppletsBusinessVerificationMapper;
import com.hckjsec.cloud.domain.AppletsBusinessVerification;
import com.hckjsec.cloud.service.IAppletsBusinessVerificationService;

/**
 * 身份核验Service业务层处理
 * 
 * @author cyt
 * @date 2021-09-01
 */
@Service
public class AppletsBusinessVerificationServiceImpl implements IAppletsBusinessVerificationService 
{
    @Autowired
    private AppletsBusinessVerificationMapper appletsBusinessVerificationMapper;

    /**
     * 查询身份核验
     * 
     * @param biztoken 身份核验ID
     * @return 身份核验
     */
    @Override
    public AppletsBusinessVerification selectAppletsBusinessVerificationById(String biztoken)
    {
        return appletsBusinessVerificationMapper.selectAppletsBusinessVerificationById(biztoken);
    }

    /**
     * 查询身份核验列表
     * 
     * @param appletsBusinessVerification 身份核验
     * @return 身份核验
     */
    @Override
    public List<AppletsBusinessVerification> selectAppletsBusinessVerificationList(AppletsBusinessVerification appletsBusinessVerification)
    {
        return appletsBusinessVerificationMapper.selectAppletsBusinessVerificationList(appletsBusinessVerification);
    }

    /**
     * 新增身份核验
     * 
     * @param appletsBusinessVerification 身份核验
     * @return 结果
     */
    @Override
    public int insertAppletsBusinessVerification(AppletsBusinessVerification appletsBusinessVerification)
    {
        return appletsBusinessVerificationMapper.insertAppletsBusinessVerification(appletsBusinessVerification);
    }

    /**
     * 修改身份核验
     * 
     * @param appletsBusinessVerification 身份核验
     * @return 结果
     */
    @Override
    public int updateAppletsBusinessVerification(AppletsBusinessVerification appletsBusinessVerification)
    {
        return appletsBusinessVerificationMapper.updateAppletsBusinessVerification(appletsBusinessVerification);
    }
}
